package com.xiyou.luckdraw.api.dto.answer;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: AddAnswerBankRequest
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-09 10:49
 */
@Data
@ApiModel("添加题目请求")
public class AddAnswerBankRequest {

    /*题目*/
    private String answerTitle;
    @ApiModelProperty(value="答案:A")
    @JsonProperty(value = "A")
    private String A;

    @ApiModelProperty(value="答案:B")
    @JsonProperty(value = "B")
    private String B;

    @ApiModelProperty(value="答案:C")
    @JsonProperty(value = "C")
    private String C;

    @ApiModelProperty(value="答案:D")
    @JsonProperty(value = "D")
    private String D;

    @ApiModelProperty(value="答案:E")
    @JsonProperty(value = "E")
    private String E;

    /*正确答案(当前只支持单选)*/
    private Long correctAnswer;

    /*0：默认 1:启用,2：弃用*/
    private Long status;

    /*上传用户  0：表示系统*/
    private Long userId;

    /*创建时间*/
    private Date createTime;

    /*变更时间*/
    private Date modifyTime;

    /*答题等级 0：默认,1:难,2*/
    private Long level;

}
